package com.yuanrui.subject;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * SubjectApplication:程序入口
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.yuanrui"})
@MapperScan("com.yuanrui.**.mapper")
@EnableFeignClients(basePackages = {"com.yuanrui"})
@EnableDiscoveryClient
public class SubjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(SubjectApplication.class, args);
    }
}